package com.test.pattern.memento.black_box;

import com.test.pattern.memento.white_box.RoleStateMemento;

/**
 * @ClassName: RoleStateCaretaker
 * @description: 备忘录管理对象
 * @author: Mr du
 * @create: 2024-03-31 21:53
 */
public class RoleStateCaretaker {

    private Memento memento;

    public Memento getMemento() {
        return memento;
    }

    public void setMemento(Memento memento) {
        this.memento = memento;
    }
}
